package cn.gotom.pinggu.pojos;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import cn.gotom.core.pojos.BaseEntity;

/**
 * 
 * 数据采集数据表明细
 * 
 * @author peixere@qq.com
 * 
 * @version 2012-12-03
 * 
 */
@Entity
@Table()
public class Sjcjbmx extends BaseEntity implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 菜集表
	 */
	@JoinColumn(name = "sjcjb_id", referencedColumnName = "id")
	@ManyToOne
	private Sjcjb sjcjb;
	/**
	 * 产品种类
	 */
	@JoinColumn(name = "cpzl_id", referencedColumnName = "id")
	@ManyToOne
	private Cpzl cpzl;

	/**
	 * 原料品位
	 */
	@JoinColumn(name = "ylpw_id", referencedColumnName = "id")
	@ManyToOne
	private Ylpw ylpw;

	/**
	 * 月份
	 */
	@Column(length = 11)
	private int yf;
	
	/**
	 * 整个生产过程耗电量（万千瓦时）
	 */
	@Column(length = 11)
	private int hdl;

	/**
	 * 产品期初库存	吨
	 */
	@Column()
	private float cpqckc;
	
	/**
	 * 产品期末库存	吨
	 */
	@Column()
	private float cpqmkc;	
	
	/**
	 * 本期产品产量	吨
	 */
	@Column()
	private float bccpcl;	
	
	/**
	 * 产品平均销售价格 元
	 */
	@Column()
	private float cppjxsjg;	
	
	/**
	 * 本期产品销量  吨
	 */
	@Column()
	private float bccpxl;

	public Sjcjb getSjcjb()
	{
		return sjcjb;
	}

	public void setSjcjb(Sjcjb sjcjb)
	{
		this.sjcjb = sjcjb;
	}

	public Cpzl getCpzl()
	{
		return cpzl;
	}

	public void setCpzl(Cpzl cpzl)
	{
		this.cpzl = cpzl;
	}

	public Ylpw getYlpw()
	{
		return ylpw;
	}

	public void setYlpw(Ylpw ylpw)
	{
		this.ylpw = ylpw;
	}

	public int getYf()
	{
		return yf;
	}

	public void setYf(int yf)
	{
		this.yf = yf;
	}

	public int getHdl()
	{
		return hdl;
	}

	public void setHdl(int hdl)
	{
		this.hdl = hdl;
	}

	public float getCpqckc()
	{
		return cpqckc;
	}

	public void setCpqckc(float cpqckc)
	{
		this.cpqckc = cpqckc;
	}

	public float getCpqmkc()
	{
		return cpqmkc;
	}

	public void setCpqmkc(float cpqmkc)
	{
		this.cpqmkc = cpqmkc;
	}

	public float getBccpcl()
	{
		return bccpcl;
	}

	public void setBccpcl(float bccpcl)
	{
		this.bccpcl = bccpcl;
	}

	public float getCppjxsjg()
	{
		return cppjxsjg;
	}

	public void setCppjxsjg(float cppjxsjg)
	{
		this.cppjxsjg = cppjxsjg;
	}

	public float getBccpxl()
	{
		return bccpxl;
	}

	public void setBccpxl(float bccpxl)
	{
		this.bccpxl = bccpxl;
	}		

//	原矿处理量 	YKCLL	C(20)		吨
//	钢球用量	GQYL	C(20)		公斤
//	硫酸铜 	LST	C(20)		公斤
//	硫酸 	LS	C(20)		公斤
	
}